Quick start of regular Expressions (ii)
"Guided reading" in this article, we mainly introduce subpatterns, reverse reference (back references) and quantifiers (quantifiers)
In the previous article, we introduced the pattern modifiers and
There are four forms of Regular Expressions:
(? = Pattern) Assertion (zero-width positive lookahead assertion)(?! Pattern) Assertion (zero-width negative lookahead assertion)(? (? The pattern here is a regular expression.
As ^ indicates the
Regular Expression Quick Start (2)
[Introduction] In this article, we mainly introduce subpatterns, Back references, and quantifiers)
In the previous article, we introduced pattern modifiers and metacharacters of regular expressions. Readers may
Regular Expression Quick Start (2)[Introduction] In this article, we mainly introduce subpatterns, Back references, and quantifiers)In the previous article, we introduced pattern modifiers and metacharacters of regular expressions. Readers may find
Document directory
Introduction
Introduction to the use history of Regular Expressions
Simple expression
Qualifier
Metacharacters
Character class
Predefined set metacharacters
Expression example
ASP. NET Authentication
Regular Expression
Regular
by Jim Hollenhorst Cold fish
Have you ever thought about what a regular expression is and how you can get a basic understanding of it quickly? My goal is to get you started in 30 minutes and have a basic understanding of regular expressions.
Efficiency is not a problem if it is purely to challenge your regular level to implement some special effects (for example, using regular expressions to calculate prime numbers, to solve linear equations), and if the regular expression is written
Regular expression: An expression that conforms to a certain rule
Role: Dedicated to manipulating strings
With some specific symbols to represent some code operations, thus simplifying the writing, so learning regular expressions is learning some
Introduction to regular expression Assertions, Assertions, forward Assertions, reverse Assertions, and regular expression Assertions
Assertions is hard to understand in the regular expression concept. It usually refers to a test conducted at the
If it is purely to challenge their regular level, to achieve some special effects (such as using regular expressions to calculate prime numbers, solving linear equations), efficiency is not a problem, if the regular expression is written only to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.